import Vue from 'vue'
import VueRouter from 'vue-router'
import reg from '@/views/reg/reg.vue'
import login from '@/views/login/login.vue'
Vue.use(VueRouter)

const routes = [{
  path: '/reg', component: reg
},
{
  path: '/login', component: login
}]

const router = new VueRouter({
  routes
})

export default router
